package org.jeecg.modules.xl.product.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.Getter;
import org.jeecg.common.aspect.annotation.Dict;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;

/**
 * @Description: xl_product_info
 * @Author: jeecg-boot
 * @Date:   2024-10-18
 * @Version: V1.0
 */
@ApiModel(value="xl_product_info对象", description="xl_product_info")
@Data
@TableName("xl_product_info")
@Getter
public class XlProductInfo implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private java.lang.String id;
	/**商品描述*/
	@Excel(name = "商品描述", width = 15)
    @ApiModelProperty(value = "商品描述")
    private java.lang.String productName;

    @Excel(name = "一级类目编码,请填写类目编码", width = 15)
    private java.lang.String l1TypeCode;

    @Excel(name = "一级类目,请填写类目名称", width = 15)
    private java.lang.String l1Type;

    @Excel(name = "二级级类目编码,请填写类目编码", width = 15)
    private java.lang.String l2TypeCode;
    @Excel(name = "二级类目,请填写类目名称", width = 15)
    private java.lang.String l2Type;

    /**商品状态*/
	//@Excel(name = "商品状态，请写", width = 15, dicCode = "xl_product_status")
    @Dict(dicCode = "xl_product_status")
    @ApiModelProperty(value = "商品状态")
    private java.lang.String status;
	/**商品品牌*/
	@Excel(name = "商品品牌", width = 15)
    @ApiModelProperty(value = "商品品牌")
    private java.lang.String brand;
	/**商品UPC条码*/
	@Excel(name = "商品UPC条码", width = 15)
    @ApiModelProperty(value = "商品UPC条码")
    private java.lang.String upcCode;

    /**其他条码*/
    @Excel(name = "其他条码,请用英文,分割", width = 15)
    @ApiModelProperty(value = "其他条码")
    private java.lang.String otherCode;
	/**箱规*/
	@Excel(name = "箱规", width = 15)
    @ApiModelProperty(value = "箱规")
    private java.lang.String cartonSpec;
	/**产品规格*/
	@Excel(name = "产品规格", width = 15)
    @ApiModelProperty(value = "产品规格")
    private java.lang.String productSpec;
    /**覆盖渠道*/
    @Excel(name = "覆盖渠道", width = 15)
    @ApiModelProperty(value = "覆盖渠道")
    @TableField(exist = false)
    private java.lang.String  coverCustomer;
	/**进货单价*/
	@Excel(name = "进货单价", width = 15)
    @ApiModelProperty(value = "进货单价")
    private java.lang.Double purchasePrice;
    /**重量*/
    @Excel(name = "重量", width = 15)
    @ApiModelProperty(value = "重量")
    private java.lang.Double weight;
    /**渠道类型*/
    @TableField(exist = false)
    private java.lang.String type;
    /**供货价*/
    @TableField(exist = false)
    @Excel(name = "供价", width = 15)
    private java.lang.Double supplyPrice;
    /**商品主图*/
    @Excel(name = "商品主图", width = 15)
    @ApiModelProperty(value = "商品主图")
    private java.lang.String mainPic;


    /**租户id*/
    @ApiModelProperty(value = "租户id")
    private java.lang.String tenantId;

	/**是否删除*/
    @ApiModelProperty(value = "是否删除")
    private java.lang.String isDeleted;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private java.lang.String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
    private java.util.Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private java.lang.String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新日期")
    private java.util.Date updateTime;


}
